<div ng-controller="VoteController">
    <!--头部导航 开始-->
    <header class="bar bar-nav">
        <h1 class="title">投票</h1>
        <a href="javascript:;" ng-click="goHome()" class="icon pull-left"><i
                class="sstfont sst-xiangzuo"></i></a>
        <!--<a href="javascript:;" ng-click="gotoLogin()" class="icon pull-right"><i
                class="sstfont sst-wode"></i></a>-->
    </header>
    <!--头部导航 结束-->


    <!--主体部分 开始-->
    <div class="content">
        <div ng-repeat="vo in voteList track by $index">
            <div class="content-block">
                <div class="login_logo">{{vo.voteDesc}}</div>

                <div class="weui-cells weui-cells_form">

                    <div class="weui-cells weui-cells_radio">
                        <label ng-repeat="wo in vo.voteExtList track by $index" class="weui-cell weui-check__label"
                               for="radio{{$index}}{{wo.id}}">
                            <div class="weui-cell__bd">
                                <p>{{wo.name}}</p>
                            </div>
                            <div class="weui-cell__ft">
                                <input type="radio" class="weui-check" name="radio{{vo.id}}"
                                       id="radio{{$index}}{{wo.id}}"
                                       value="{{wo.value}}">
                                <span class="weui-icon-checked"></span>
                            </div>
                        </label>
                    </div>
                </div>

                <div class="weui-btn-area">
                    <a href="javascirpt:;" ng-click="voteSave(vo.id)" class="weui-btn weui-btn_primary">投票</a>
                </div>
            </div>
            <article class="weui-article whitebg" style="padding: 0">
                <section>
                    <p>　</p>
                </section>
            </article>
        </div>
        <div ng-if="voteList.length == 0">
            <div class="content-block">
                <div class="login_logo">还没有投票</div>
            </div>
        </div>
    </div>
    <!--主体部分 结束-->
</div>